<article class="page-container">
	<form autocomplete="off" class="form form-horizontal jq_validate_file" enctype="multipart/form-data" method="post" onsubmit="return false;">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				昵称：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
		          <input type="text" class="input-text" disabled=disabled value="<{$info['username']}>" />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">头像：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<div class="uploader-thum-container">
					<span class="btn-upload form-group">
						  	<input type="file" name="avatar" class="input-text">
					</span>
					<{if condition="!empty($info['avatar'])"}>
					<img src="/<{$info['avatar']}>" height="50px" />&nbsp;&nbsp;
					<span class="ckbox ckbox-primary">
						<input type="checkbox" name="delete_avatar" value="yes" id="delete_avatar">
						<label for="delete_avatar">&nbsp;删除图片</label>
					</span>
					<{/if}>
				</div>
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				姓名：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
		          <input type="text" class="input-text" value="<{$info['name']}>"
		          placeholder="请填写姓名"
		          name="name" 
		          />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				电话：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
		          <input type="text" class="input-text" value="<{$info['phone']}>"
		          placeholder="请填写电话"
		          name="phone" 
		          />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				邮箱：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
		          <input type="email" class="input-text" value="<{$info['email']}>"
		          placeholder="请填写邮箱地址"
		          name="email" 
		          />
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				修改密码：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
		          <input type="password" class="input-text" value=""
		          placeholder="不填写为不修改      填写为修改密码"
		          id = "password"
		          name="password"
		          data-rule-minlength=6
		          data-msg-minlength="请输入至少6位数的密码"
		          /> 
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">
				确认修改：
			</label>
			<div class="formControls col-xs-8 col-sm-9"> 
		          <input type="password" class="input-text" value=""
		          placeholder="请再次输入修改密码"
		          data-rule-equalTo = "#password"
		          data-msg-equalTo = "两次密码输入不一致" 
		          />
			</div>
		</div>
		
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<input type='submit' class="btn btn-primary radius" />
			</div>
		</div>
	</form>
</article>